import { APIGET, APIPOST, APIPUT, APIDELETE } from '../../bgApiToken';

/**
 * 获取采购订单
 * @param param
 * @returns
 */
export const getPurtcd = (param) => APIGET(`/logistics/getPurtcd/${param.page}/${param.pageSize}`);

/**
 * 获取到货检验单
 * @param param
 * @returns
 */
export const getArrivalInspect = (param) => APIPOST(`/logistics/getArrivalInspect/${param.page}/${param.pageSize}`);

/**
 * 批量到货检验
 * @param param
 * @returns
 */
export const arrivalInspectBatch = (param) => APIPOST('/logistics/arrivalInspectBatch', param);

/**
 * 获取进货单信息
 * @param param
 * @returns
 */
export const getjhd = (param) => APIGET(`/logistics/getjhd/${param.page}/${param.pageSize}`);

/**
 * 批量产生进货单
 * @param param
 * @returns
 */
export const insertjhdByArrBatch = (param) => APIPOST('/logistics/insertjhdByArrBatch', param);
